#define PI 3.14159

#include <stdio.h>

int main(void)
{
	float r, h, s, v;
	
	printf("请输入半径与高，并以空格为间隔：");
	scanf("%f %f", &r, &h);	 
	
	s = PI * r * r;
	v = s * h;
	
	printf("s = %f v = %f", s, v);
	
	return 0;
}